//
//  DPPopView.h
//  DrinkingPlan
//
//  Created by 张德广 on 2019/3/15.
//  Copyright © 2019 Drinking Plan. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN


@class DPPopView;

@protocol DCAlertViewDelegate <NSObject>

- (void)didSelectedBtn:(DPPopView *)popView withButtonTag:(NSInteger)tag;

@end

@interface DPPopView : UIView

@property (nonatomic, weak) id<DCAlertViewDelegate> delegate;

- (instancetype)initWithWaterYieldStr:(NSString *)waterYieldStr;
- (void)showView;
- (void)dismissAlertView;

@end

NS_ASSUME_NONNULL_END
